package com.zofer.study.adapter;

public class Adapter {

    public void changePlug(String plugName){
        if ("安卓".equals(plugName)){
            System.out.println("正在切换成"+plugName+"插头...");
            System.out.println(plugName+"插头已经切换完成,正在充电...");
        }else if ("苹果".equals(plugName)){
            System.out.println("正在切换成"+plugName+"插头...");
            System.out.println(plugName+"插头已经切换完成,正在充电...");
        }
    }
}
